// sidebar
$menuText: #bfcbd9;
$menuActiveText: #fff;
$subMenuActiveText: #f4f4f5;

$menuBg: #304156;
$menuHover: #263445;

$subMenuBg: #1f2d3d;
$subMenuHover: #001528;

$siderBarWidth: 210px;
$hideSiderBarWidth: 60px;
$siderBarDuration: 0.38s;

// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
// yarn add sass-loader node-sass webpack
// JS 与 scss共享变量，在scss中通过 :export 进行导出，在js中可以通过 ESM 进行导入

:export {
  menuText: $menuText;
  menuActiveText: $menuActiveText;
  subMenuActiveText: $subMenuActiveText;
  menuBg: $menuBg;
  menuHover: $menuHover;
  subMenuBg: $subMenuBg;
  subMenuHover: $subMenuHover;
  siderBarWidth: $siderBarWidth;
  hideSiderBarWidth: $hideSiderBarWidth;
}